package main.pojo;


import java.util.Date;

/**
 * 审核
 * @TableName CHECK
 */

public class Check {
    /**
     * 主键
     */
    private String id;

    /**
     * 门店
     */
    private String store;

    /**
     * 状态
     */
    private String status;

    /**
     * 备注
     */
    private String remark;

    /**
     * 审核人
     */
    private String creator;

    /**
     * 创建时间
     */
    private Date createDate;

    /**
     * 结束时间
     */
    private Date updateDate;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getStore() {
        return store;
    }

    public void setStore(String store) {
        this.store = store;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        Check check = (Check) o;

        if (id != null ? !id.equals(check.id) : check.id != null) return false;
        if (store != null ? !store.equals(check.store) : check.store != null) return false;
        if (status != null ? !status.equals(check.status) : check.status != null) return false;
        if (remark != null ? !remark.equals(check.remark) : check.remark != null) return false;
        if (creator != null ? !creator.equals(check.creator) : check.creator != null) return false;
        if (createDate != null ? !createDate.equals(check.createDate) : check.createDate != null) return false;
        return updateDate != null ? updateDate.equals(check.updateDate) : check.updateDate == null;
    }

    @Override
    public int hashCode() {
        int result = id != null ? id.hashCode() : 0;
        result = 31 * result + (store != null ? store.hashCode() : 0);
        result = 31 * result + (status != null ? status.hashCode() : 0);
        result = 31 * result + (remark != null ? remark.hashCode() : 0);
        result = 31 * result + (creator != null ? creator.hashCode() : 0);
        result = 31 * result + (createDate != null ? createDate.hashCode() : 0);
        result = 31 * result + (updateDate != null ? updateDate.hashCode() : 0);
        return result;
    }

    @Override
    public String toString() {
        return "Check{" +
                "id='" + id + '\'' +
                ", store='" + store + '\'' +
                ", status='" + status + '\'' +
                ", remark='" + remark + '\'' +
                ", creator='" + creator + '\'' +
                ", createDate=" + createDate +
                ", updateDate=" + updateDate +
                '}';
    }
}